<?xml version="1.0" encoding="UTF-8" ?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">

<html xmlns="http://www.w3.org/1999/xhtml"
	  xmlns:h="http://java.sun.com/jsf/html"
	  xmlns:f="http://java.sun.com/jsf/core"
	  xmlns:c="http://java.sun.com/jsp/jstl/core"
	  xmlns:p="http://primefaces.org/ui"
      xmlns:ui="http://java.sun.com/jsf/facelets"
      xmlns:spring="http://www.springframework.org/tags">
      
<f:view contentType="text/html">

	<h:head>
		<!-- 
		<meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
		<title><ui:insert name="title" /></title>
		<link rel="stylesheet" type="text/css" href="${request.contextPath}/resources/css/style.css" />
		<link rel="shortcut icon" href="${request.contextPath}/resources/css/images/favicon.ico" />
		-->
		<title>#{messages['general.header.titulo']}</title>
		<meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
		<meta http-equiv="X-UA-Compatible" content="IE=edge" />
		<link href="http://estaticos.castillalamancha.es/img/icons-buttons/favicon.ico" type="image/x-icon" rel="icon" />
		<link href="http://estaticos.castillalamancha.es/img/icons-buttons/favicon.ico" type="image/x-icon" rel="shortcut icon" />
		<link rel="stylesheet" type="text/css" href="http://estaticos.castillalamancha.es/css/jccm.css" />
		<!--[if IE]>
		<link rel="stylesheet" type="text/css" href="http://estaticos.castillalamancha.es/css/ie-hacks.css" />
		<![endif]-->
		
		<link rel="stylesheet" type="text/css" href="${request.contextPath}/themes/primefaces-bootstrap/theme.css" />
		<script type="text/javascript" src="${request.contextPath}/js/jscodes.js"></script>
	</h:head>
	
	<h:body>
		<p:ajaxStatus onstart="statusDialog.show();" onsuccess="statusDialog.hide();" />
		<p:dialog modal="true" widgetVar="statusDialog" header="Processing..." draggable="true" closable="false">
			<p:graphicImage value="/css/images/ajaxloadingbar.gif" />
		</p:dialog>
		<p:growl id="growlMessages" showDetail="false" sticky="false" life="13000"  />
	
		<div id="container">
			 
			
			<!-- Header -->
			<ui:include src="header.xhtml"/>
			
			<div id="content">
				
				<div class="side-padder" style="min-height:460px;">
					
					<!-- 
					<div class="message-box-info"><h2>.message-box-info</h2>Mensaje informativo</div>
					<div class="message-box-success"><h2>.message-box-success</h2>Mensaje de éxito</div>
					<div class="message-box-warning"><h2>.message-box-warning</h2>Mensaje de advertencia</div>
					<div class="message-box-error"><h2>.message-box-error</h2>Mensaje de error</div>
					 -->	
					<ui:insert name="content" />
				</div><!-- // .side-padder -->
				
				<!-- Menu izquierdo -->
				<ui:include src="menu_izquierdo.xhtml"/>
				
			</div><!-- // #content -->
			
		</div><!-- // #container -->
				
		<!-- Footer -->
		<ui:include src="footer.xhtml"/>
			
				
	</h:body>

</f:view>
</html>